package com.aftersale.demo.service;

import com.aftersale.demo.entity.Notice;
import com.aftersale.demo.entity.Result;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface NoticeService extends IService<Notice> {

    Result getNotice(Integer pageNum, Integer pageSize);

    Result selectNotice(Integer pageNum, Integer pageSize, String title);

    Result addNotice(Notice notice);

    Result deleteNotice(int id);

    Result updateNotice(Notice notice);

    Result getOpenNotice(Integer pageNum, Integer pageSize);
}
